package cn.org.intelli.zffserver.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity(name = "modelJob")
public class JobEntity {
    @Id
    private String id;
    @Column
    private String modelId;
    @Column(columnDefinition = "text")
    private String param;
    @Column
    private String status;
    @Column(columnDefinition = "text")
    private String message;

    @Column
    private String jobExecuter;
    @Column
    private String userPin;
    @Column
    private Date createTime;
    @Column
    private String sourceDbId;
    @Column
    private String destinationDbId;
    @Column(columnDefinition = "text")
    private String sql;

}

